import request from '@/utils/request'

// 模拟诊断分页
export function getPageList(data) {
    return request({
        // url: '/simulation-diagnosis-manager/getPageList',
        url: '/simulation-diagnosis/getPageList',
        method: 'post',
        data
    })
}

export function getSimulationPageList(data) {
    return request({
        url: '/simulation-diagnosis-manager/getPageList',
        method: 'post',
        data
    })
}
export function getpublishPage(data) {
    return request({
        url: '/simulation-diagnosis-manager/publish',
        method: 'post',
        data
    })
}
// 模拟诊断增加
export function getnewAnalog(data) {
    return request({
        url: '/simulation-diagnosis/save',
        method: 'post',
        data
    })
}
// 取消模诊断历史发布
export function getunPublish(data) {
    return request({
        url: '/simulation-diagnosis-manager/unPublish',
        method: 'post',
        data
    })
}
// 上传图片
export function uploadPicture(data) {
    return request({
        url: '/picture/upload',
        method: 'post',
        data
    })
}